package aom.ju.ss.view.main

import androidx.lifecycle.AndroidViewModel
import aom.ju.ss.utils.BaseApplication

class LpViewModel : AndroidViewModel(BaseApplication.getInstance()) {

    var uiData = ApplyForAShopUIData()


    companion object {
        private var my: LpViewModel? = null
        fun getMy(): LpViewModel {
            if (my == null) {
                my = LpViewModel()
            }
            return my!!
        }
    }
}

class ApplyForAShopUIData {
    var shopName: String = ""
    var className: String = ""
    var phone: String = ""
    var code: String = ""


    var idFront: String = ""//正
    var idobverse: String = ""//反


    var idCard: String = ""
    var idName: String = ""
    var idEndTime: String = ""
    var idIsForever: Boolean = false


    var yyzz: String = ""//营业执照
    var companyName: String = ""//企业名称
    var companyCode: String = ""// 组织机构代码
    var companyAddress: String = ""//企业地址


    var companyEndTime: String = ""//营业执照 结束时间
    var companyIsiSForever: String = ""// 营业执照 是否永久

}